package com.zsrt.java.day20161226.zzd.demo3;

import java.util.Scanner;

public class HuHuanTest2 {
	public static void demo00(int a,int b){
		if(a>b){
    		System.out.println("a="+b+"b="+a);
    	}else{
    		System.out.println("a="+a+"b="+b);
    	}
	}
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
  	    System.out.println("请输入第一个数字：");
  	    int a=sc.nextInt();
  	    
  	    System.out.println("请输入第二个数字...");
	    int b=sc.nextInt();
	    
	    demo00(a,b);
  	    sc.close();
	}

}
